﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeGame.Networking.Clientside.ServerClientPackets
{
    class TestingPacket : ClientPacket
    {
        public override ServerClientNet GetID()
        {
            return ServerClientNet.NetTest;
        }

        public override void Handle(Lidgren.Network.NetIncomingMessage message)
        {
            ClientProtocolDev.Watch.Stop();

            Singletons.Console.Print("Ping: " + ClientProtocolDev.Watch.ElapsedMilliseconds.ToString(), Singletons.NetworkColor);
        }
    }
}
